package com.googlecode.continuity.plugin.codecomment.server.service;

import java.util.List;

import com.googlecode.continuity.plugin.codecomment.client.CodeComment;
import com.googlecode.continuity.plugin.codecomment.client.CodePointer;

/**
 * CodeCommentService
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public interface CodeCommentService {
  List<CodeComment> getCommentsForFile(CodePointer pointer);

  List<CodeComment> getCommentsForFile(CodePointer pointer, long firstVersion, long lastVersion);

  void storeComment(CodeComment comment);
}
